package com.xuan.webfinally.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 边坡信息表
 * </p>
 *
 * @author gyuxuan
 * @since 2025-05-18
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("slope_info")
@ApiModel(value="SlopeInfo对象", description="边坡信息表")
public class SlopeInfo implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键ID")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "边坡名称")
    @TableField("slope_name")
    private String slopeName;

    @ApiModelProperty(value = "边坡编号")
    @TableField("slope_code")
    private String slopeCode;

    @ApiModelProperty(value = "边坡起点桩号")
    @TableField("start_pile_no")
    private Double startPileNo;

    @ApiModelProperty(value = "边坡终点桩号")
    @TableField("end_pile_no")
    private Double endPileNo;

    @ApiModelProperty(value = "边坡高度（米）")
    @TableField("slope_height")
    private Double slopeHeight;

    @ApiModelProperty(value = "边坡长度（米）")
    @TableField("slope_length")
    private Double slopeLength;

    @ApiModelProperty(value = "路线编号")
    @TableField("route_code")
    private String routeCode;

    @ApiModelProperty(value = "路线名称")
    @TableField("route_name")
    private String routeName;

    @ApiModelProperty(value = "坡体特征")
    @TableField("slope_features")
    private String slopeFeatures;

    @ApiModelProperty(value = "坡后情况")
    @TableField("slope_back")
    private String slopeBack;

    @ApiModelProperty(value = "管养单位")
    @TableField("dept_id")
    private Integer deptId;

    @ApiModelProperty(value = "技术状况评定等级（一类-五类）")
    @TableField("tech_condition_level")
    private String techConditionLevel;

    @ApiModelProperty(value = "评定日期")
    @TableField("update_time")
    private LocalDateTime updateTime;

    @ApiModelProperty(value = "所在政区代码")
    @TableField("region_code")
    private String regionCode;

    @ApiModelProperty(value = "边坡与路线关系（上行左/右，下行左/右）")
    @TableField("slope_position")
    private String slopePosition;

    @ApiModelProperty(value = "起点经度")
    @TableField("start_longitude")
    private Double startLongitude;

    @ApiModelProperty(value = "起点纬度")
    @TableField("start_latitude")
    private Double startLatitude;

    @ApiModelProperty(value = "止点经度")
    @TableField("end_longitude")
    private Double endLongitude;

    @ApiModelProperty(value = "止点纬度")
    @TableField("end_latitude")
    private Double endLatitude;

    @ApiModelProperty(value = "边坡全貌照")
    @TableField("img")
    private String img;

    @ApiModelProperty(value = "备注")
    @TableField("remark")
    private String remark;


}
